package com.piece.core.framework.enums;

import lombok.Getter;

/**
 * 状态类别
 */
@Getter
public enum StatusType {

    VISIBLE("0", "visible"),

    HIDDEN("1", "hidden"),

    SUCCESS("0", "success"),

    FAIL("1", "fail"),

    NORMAL("0", "normal"),

    DELETE("1", "delete"),

    DISABLE("2", "disabled"),

    LOCK("3", "lock"),

    FINISH("0", "finish"),

    RUN("2", "run"),

    PAUSE("3", "pause"),

    ERROR("4", "error"),

    READ("0", "read"),

    UNREAD("1", "unread"),

    PUBLIC("1", "public");

    private final String code;
    private final String info;

    StatusType(String code, String info) {
        this.code = code;
        this.info = info;
    }
}